<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        el-header
    </style>
</head>
<body>
<div id="app">

    <el-container style="height:500px; border: 1px solid #eee">
        <el-aside width="200px" style="background-color: rgb(238,241,246)"><!--aside布局,样式-->
            <el-menu :default-openeds="['1', '3']"><!--导航布局-->
                <el-submenu index="1"><!--导航子菜单-->
                    <template slot="title"><i class="el-icom-message"></i>导航一</template><!--aside里的导航一-->
                    <el-menu-time-groip><!--导航里的分组一-->
                        <template slot="title">分组一</template>
                        <el-menu-tiem index="1-1">选项1</el-menu-tiem>
                        <el-menu-tiem index="1-2">选项2</el-menu-tiem>
                    </el-menu-time-groip>
                    <el-menu-time-groip title="分组二"><!--导航里的分组二-->
                        <el-menu-tiem index="1-3">选项3</el-menu-tiem>
                    </el-menu-time-groip>
                    <el-submenu index="1-4"><!--选项4再分-->
                        <template slot="title">选项4</template><!--头-->
                        <el-menu-tiem index="1-4-1">选项4-1</el-menu-tiem>
                    </el-submenu>
                </el-submenu>

            </el-menu>
            el-menu >
            <el-submenu>
                <template slot="title">导航二</template>
            </el-submenu>
            </el-menu>
            el-menu >
            <el-submenu>
                <template slot="title">导航三</template>
            </el-submenu>
            </el-menu>
        </el-aside>

        <el-header style="text-align: right;font-size:12px ">
            <el-dropdown>
                <i class="el-icon-setting" style="margin-right: 15px"></i><!--下拉选图标-->
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>查看</el-dropdown-item>
                    <el-dropdown-item>新增</el-dropdown-item>
                    <el-dropdown-item>删除</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>
            <span>王小虎</span>
        </el-header>

    </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="../js/vue.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>

<script>
    let  v = new Vue({
        el: '#app',
        data: function() {
            return { }
        }
    })
</script>
</html>